Skip to content

Conversation

@techknowlogick
Copy link
Member

No description provided.

@techknowlogick techknowlogick added type/docs This PR mainly updates/creates documentation skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. labels Oct 26, 2022
@wxiaoguang
Copy link
Contributor

IMO the simple config should be enough, the default db type is sqlite3.

ps: not sure whether the timezone/localtime work for non-Linux systems.

services:
  gitea:
    image: gitea/gitea:{{< version >}}
    volumes:
      - ./gitea:/data
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
    restart: always
    ports:
      - 3000:3000
      - 2222:22

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Oct 26, 2022
@techknowlogick techknowlogick deleted the sqlite-docs branch October 26, 2022 03:29
@wxiaoguang
Copy link
Contributor

Some backgrounds:

The SQLite3 installation could be covered by https://docs.gitea.io/en-us/install-with-docker/#basics: Since there is no database available, one can be initialized using SQLite3.

But there seems to be a bug: if a user ever changes the UI language, then the default database value also changes .........

I could take a look later, to make sure when switching language, the default database type keeps consistent.

lunny added a commit that referenced this pull request Nov 9, 2022
Related:
* #21596 (comment)


There was a bug when switching language by AJAX: the irrelevant POST
requests were processed by the target page's handler.

Now, use GET instead of POST. The GET requests should be harmless.

Co-authored-by: delvh <[email protected]>
Co-authored-by: Jason Song <[email protected]>
Co-authored-by: Lunny Xiao <[email protected]>
lunny added a commit that referenced this pull request Nov 10, 2022
Backport #21597

Related:
* #21596 (comment)

There was a bug when switching language by AJAX: the irrelevant POST
requests were processed by the target page's handler.

Now, use GET instead of POST. The GET requests should be harmless.

Co-authored-by: delvh <[email protected]>
Co-authored-by: Jason Song <[email protected]>
Co-authored-by: Lunny Xiao <[email protected]>
Co-authored-by: wxiaoguang <[email protected]>
lunny added a commit that referenced this pull request Nov 10, 2022
Backport #21597

Related:
* #21596 (comment)

There was a bug when switching language by AJAX: the irrelevant POST
requests were processed by the target page's handler.

Now, use GET instead of POST. The GET requests should be harmless.

Co-authored-by: delvh <[email protected]>
Co-authored-by: Jason Song <[email protected]>
Co-authored-by: Lunny Xiao <[email protected]>
Co-authored-by: wxiaoguang <[email protected]>
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. type/docs This PR mainly updates/creates documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants